package com.wskj.insuranceweb.reporter.pojo;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Reporter {

private Integer  id            ;// NUMBER not null,
private String  report        ;// VARCHAR2(20) not null,
private String  reportname    ;// VARCHAR2(10) not null,
private String  reportdate    ;// DATE not null,
private String  customernumber;// VARCHAR2(10) not null,
private String  sex           ;// VARCHAR2(5) not null,
private String  accidentdate  ;// DATE not null,
private String  address       ;// VARCHAR2(20) not null,
private String  accidentid    ;// NUMBER not null,
private String  userid        ;// NUMBER not null,
private String  outheaddress  ;// VARCHAR2(20) not null,
private String  phone         ;// VARCHAR2(11) not null,
private String  employeename  ;// VARCHAR2(10) not null,
private String  because       ;// VARCHAR2(50) not null,
private String  accept        ;// VARCHAR2(10) not null,
private String  claimstatus   ;// VARCHAR2(20) not null,
private String  rejection     ;// VARCHAR2(100)
    private Modifycause modifycause;
    private Accident accident;
    private Users user;
    private Document document;


  @Override
  public String toString() {
    return "Reporter{" +
            "id=" + id +
            ", report='" + report + '\'' +
            ", reportname='" + reportname + '\'' +
            ", reportdate='" + reportdate + '\'' +
            ", customernumber='" + customernumber + '\'' +
            ", sex='" + sex + '\'' +
            ", accidentdate='" + accidentdate + '\'' +
            ", address='" + address + '\'' +
            ", accidentid='" + accidentid + '\'' +
            ", userid='" + userid + '\'' +
            ", outheaddress='" + outheaddress + '\'' +
            ", phone='" + phone + '\'' +
            ", employeename='" + employeename + '\'' +
            ", because='" + because + '\'' +
            ", accept='" + accept + '\'' +
            ", claimstatus='" + claimstatus + '\'' +
            ", rejection='" + rejection + '\'' +
            ", accident=" + accident +
            ", user=" + user +
            ", document=" + document +
            '}';
  }
}
